MailOptin\Core\OptinForms\AbstractOptinForm D

Total Complexity 196
Dependencies 5
Dependents 3
Total lines 1,506
Lines of code 896
Logical lines of code 431
Comment lines 300
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
optin_js_config()
D
24
44 146
_get_optin_form_structure()
C
32 26 99
_get_optin_form_fonts()
C
34 23 97
global_css()
B
25
10 243
init_config_filters()
A
53 9 21
get_preview_structure()
S
51 6 27
placeholders_input_css()
S
49 5 32
__construct()
S
48 3 32
get_optin_form_fonts()
S
58 4 16
is_schedule_display_rule_active()
S
67 5 7
optin_script_and_styles()
S
54 3 20
_remove_web_safe_font()
S
57 3 17
font_size_css()
S
45 1 46
is_x_page_views_rule_active()
S
69 4 6
is_cookie_targeting_rule_active()
S
68 4 6
is_referral_detection_rule_active()
S
69 4 6
get_optin_form_structure()
S
70 3 6
is_newvsreturn_rule_active()
S
71 3 5
is_adblock_rule_active()
S
71 3 5
webfont_loader_js_script()
S
66 3 8
optin_form_customizer_javascript()
S
56 1 18
get_customizer_value()
S
74 2 4
is_device_targeting_active()
S
78 2 3
_remove_system_font()
S
78 2 3
timestamp_spam_combat()
S
73 2 4
_construct_font_family()
S
73 2 4
customizer_configuration_settings()
S
100 1 0
customizer_configuration_controls()
S
100 1 0
customizer_fields_controls()
S
100 1 0
customizer_note_controls()
S
100 1 0
customizer_description_controls()
S
100 1 0
customizer_headline_controls()
S
100 1 0
customizer_design_controls()
S
100 1 0
customizer_output_settings()
S
100 1 0
customizer_design_settings()
S
100 1 0
customizer_fields_settings()
S
100 1 0
customizer_note_settings()
S
100 1 0
customizer_description_settings()
S
100 1 0
customizer_headline_settings()
S
100 1 0
is_set_font_families_to_inherit()
S
79 1 3
_replace_plus_with_space()
S
78 1 3
_replace_space_with_plus()
S
79 1 3
state_after_conversion()
S
80 1 3
features_support()
S
82 1 3
customizer_output_controls()
S
100 1 0